{% extends "layout.html" %}

{% block title %}
<title>V2EX</title>
{% endblock %}

{% block boxies %}
<div class="sep20"></div>
<div class="box" id="TopicsHot">
    <div class="cell"><span class="fade">今日热议主题</span></div>

    <div class="cell from_130894 hot_t_357091">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody><tr>
            <td width="24" valign="middle" align="center">
                <a href="/member/lyver"><img src="//v2ex.assets.uxengine.net/avatar/e8c7/bd37/130894_normal.png?m=1465959183" class="avatar" border="0" align="default" style="max-width: 24px; max-height: 24px;"></a>
            </td>
            <td width="10"></td>
            <td width="auto" valign="middle">
                <span class="item_hot_topic_title">
                <a href="/t/357091">##送 VR 眼镜啦啦~~</a>
                </span>
            </td>
        </tr>
    </tbody></table>
    </div>

    <div class="cell from_32036 hot_t_357150">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody><tr>
            <td width="24" valign="middle" align="center">
                <a href="/member/bngzoo"><img src="//v2ex.assets.uxengine.net/avatar/a082/c0a4/32036_normal.png?m=1473304219" class="avatar" border="0" align="default" style="max-width: 24px; max-height: 24px;"></a>
            </td>
            <td width="10"></td>
            <td width="auto" valign="middle">
                <span class="item_hot_topic_title">
                <a href="/t/357150">帮朋友或是亲戚做项目，你们都是怎么报价和接单的？</a>
                </span>
            </td>
        </tr>
    </tbody></table>
    </div>

</div>
<div class="sep20"></div>
{% endblock %}

{% block main %}
<div class="sep20"></div>

<div class="box">
    <div class="inner" style="background-color: #fff; border-top-left-radius: 3px; border-top-right-radius: 3px;" id="Tabs">
    <a href="/?tab=tech" class="tab_current">技术</a><a href="/?tab=creative" class="tab">创意</a><a href="/?tab=play" class="tab">好玩</a><a href="/?tab=apple" class="tab">Apple</a><a href="/?tab=jobs" class="tab">酷工作</a><a href="/?tab=deals" class="tab">交易</a><a href="/?tab=city" class="tab">城市</a><a href="/?tab=qna" class="tab">问与答</a><a href="/?tab=hot" class="tab">最热</a><a href="/?tab=all" class="tab">全部</a><a href="/?tab=r2" class="tab">R2</a>
    </div>

    <div class="cell" style="background-color: #f9f9f9; padding: 10px 10px 10px 20px;"><a href="/go/programmer">程序员</a> &nbsp; &nbsp; <a href="/go/python">Python</a> &nbsp; &nbsp; <a href="/go/idev">iDev</a> &nbsp; &nbsp; <a href="/go/android">Android</a>  &nbsp; &nbsp; <a href="/go/linux">Linux</a> &nbsp; &nbsp; <a href="/go/nodejs">node.js</a> &nbsp; &nbsp; <a href="/go/cloud">云计算</a> &nbsp; &nbsp; <a href="/go/bb">宽带症候群</a></div>

    {% for post in posts %}
    <div class="cell item" style="">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody><tr>

            <td width="48" valign="top" align="center"><a href="/member/xi_lin"><img src="{{ post.author.avatar }}" class="avatar" border="0" align="default"></a></td>
            <td width="10"></td>

            <td width="auto" valign="middle"><span class="item_title"><a href="/t/{{ post.id }}">{{ post.title }}</a></span>
            <div class="sep5"></div>
            <span class="small fade"><div class="votes"></div><a class="node" href="/go/idev">iDev</a> &nbsp;•&nbsp; <strong><a href="/member/xi_lin">{{ post.author.name }}</a></strong> &nbsp;•&nbsp; {{ post.pub_date|dateformat }}
            {% if post.comment_count > 0 %}
            &nbsp;•&nbsp;最后回复来自 <strong><a href="/member/{{ post.comments[-1].author.name }}">{{ post.comments[-1].author.name }}</a></strong>
            {% endif %}
            </span>
            </td>
            <td width="70" align="right" valign="middle">
            {% if post.comment_count > 0 %}
                <a href="/t/{{ post.id }}" class="count_livid">{{ post.comment_count }}</a>
            {% endif %}
            </td>
        </tr>
    </tbody></table>
    </div>
    {% endfor %}

    <div class="inner"><div class="fr"><a href="/feed/tab/tech.xml" target="_blank"><img src="/static/img/rss.png" align="absmiddle" style="margin-top:-3px;" border="0"></a>&nbsp; <a href="/feed/tab/tech.xml" target="_blank">通过 Atom Feed 订阅</a></div>
        <span class="chevron">→</span> <a href="/recent">更多新主题</a>
    </div>
</div>
{% endblock %}